package com.efast.dmom.mgmt.service.master.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasDlocDao;
import com.efast.dmom.mgmt.entity.master.TmBasDloc;
import com.efast.dmom.mgmt.service.master.TmBasDlocService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmBasDlocServiceImpl implements TmBasDlocService{
    @Autowired
    private TmBasDlocDao tmBasDlocDao;
    @Override
    public long getTmBasDlocRowCount(Assist assist){
        return tmBasDlocDao.getTmBasDlocRowCount(assist);
    }
    @Override
    public List<TmBasDloc> selectTmBasDloc(Assist assist){
        return tmBasDlocDao.selectTmBasDloc(assist);
    }
    @Override
    public TmBasDloc selectTmBasDlocByObj(TmBasDloc obj){
        return tmBasDlocDao.selectTmBasDlocByObj(obj);
    }
    @Override
    public TmBasDloc selectTmBasDlocById(Integer id){
        return tmBasDlocDao.selectTmBasDlocById(id);
    }
    @Override
    public int insertTmBasDloc(TmBasDloc value){
        return tmBasDlocDao.insertTmBasDloc(value);
    }
    @Override
    public int insertNonEmptyTmBasDloc(TmBasDloc value){
        return tmBasDlocDao.insertNonEmptyTmBasDloc(value);
    }
    @Override
    public int insertTmBasDlocByBatch(List<TmBasDloc> value){
        return tmBasDlocDao.insertTmBasDlocByBatch(value);
    }
    @Override
    public int deleteTmBasDlocById(Integer id){
        return tmBasDlocDao.deleteTmBasDlocById(id);
    }
    @Override
    public int deleteTmBasDloc(Assist assist){
        return tmBasDlocDao.deleteTmBasDloc(assist);
    }
    @Override
    public int updateTmBasDlocById(TmBasDloc enti){
        return tmBasDlocDao.updateTmBasDlocById(enti);
    }
    @Override
    public int updateTmBasDloc(TmBasDloc value, Assist assist){
        return tmBasDlocDao.updateTmBasDloc(value,assist);
    }
    @Override
    public int updateNonEmptyTmBasDlocById(TmBasDloc enti){
        return tmBasDlocDao.updateNonEmptyTmBasDlocById(enti);
    }
    @Override
    public int updateNonEmptyTmBasDloc(TmBasDloc value, Assist assist){
        return tmBasDlocDao.updateNonEmptyTmBasDloc(value,assist);
    }

    public TmBasDlocDao getTmBasDlocDao() {
        return this.tmBasDlocDao;
    }

    public void setTmBasDlocDao(TmBasDlocDao tmBasDlocDao) {
        this.tmBasDlocDao = tmBasDlocDao;
    }

}